<?php

$categories = BaseCategorieQuery::create()->orderByNom()->find();
$cat = array();
foreach($categories as $categorie) {
	$cat[$categorie->getId()] = $categorie->getNom();
}
$smarty->assign('categories', $cat);
?>